library = {
	_entity = {
		WireTriggerInput = [[function(nent,...)
			local ent = __entity.GetEnt(nent)
			if ent and type(ent.TriggerInput) == "function" then
				ent:TriggerInput(unpack(arg))
			end
		end]],
		WireGetOutput = [[function(nent,...)
			local ent = __entity.GetEnt(nent)
			if ent then
				local tab = ent:GetTable()
				if type(tab) ~= "table" then
					return
				end
				tab = tab.Outputs
				if type(tab) ~= "table" then
					return
				end
				tab = tab[tostring(arg[1])]
				if type(tab) ~= "table" then
					return
				end
				out = tab.Value
				if type(out) == "string" or type(out) == "number" then
					return out
				end
			end
		end]],
	},
}